Simple Python Permutation Without Passing any argument

35

from itertools import permutations 
a=permutations ([1,2,3]) 
for i in a: 
  print(i)

Comments

Submit
0 Comments